import { axios } from '@/utils/request'

const api = {
    // 数据展示
    reportDataByMonth: '/report/business/getJyfxChartsByMonthCd',
    reportTableByMonth: '/report/business/getJyfxZyksGridByMonthCd',
    getReportTable: '/report/clinical/medication/getAntimicrobialsInpatients',
    getAntibioticsOutpatients: '/report/clinical/medication/getAntibioticsOutpatients',
    getAntimicrobialUse: '/report/clinical/medication/getAntimicrobialUse',
    getRankingAntimicrobialUse: '/report/clinical/medication/getRankingAntimicrobialUse',
    getStrengthAntimicrobialUse: '/report/clinical/medication/getStrengthAntimicrobialUse',
    getOverLimitPrescription: '/report/clinical/medication/getOverLimitPrescription',
    getOverPrescriptionDetail: '/report/clinical/medication/getOverPrescriptionDetail',
    getReportDrugPctMonitor: '/report/clinical/medication/getReportDrugPctMonitor',
    getReportBasicDrugMonitor: '/report/clinical/medication/getReportBasicDrugMonitor',
    getBigChkNegPosMonitor: '/report/large/setup/getBigChkNegPosMonitor',
    getChkFeeMonitor: '/report/large/setup/getChkFeeMonitor',
    getCheckNumber: '/report/large/setup/getCheckNumber',
    getClinicDeptInfoMonitor: '/report/wind/index/getClinicDeptInfoMonitor',
    getInnerDeptInfoMonitor: '/report/wind/index/getInnerDeptInfoMonitor',
    getReportDrugFeeRank: '/report/wind/index/getReportDrugFeeRank',
    getReportAuxDrugFeeRank: '/report/wind/index/getReportAuxDrugFeeRank',
    getReportPpiFeeRank: '/report/wind/index/getReportPpiFeeRank',
    getReportDoctorDrugFeeRank: '/report/wind/index/getReportDoctorDrugFeeRank',
    getReportClinicRefundMonitor: '/report/wind/index/getReportClinicRefundMonitor',
    getReportMedicalQualityCore: '/report/wind/index/getReportMedicalQualityCore',
}

// getReportMedicalQualityCore
export function getReportMedicalQualityCore(params) {
    return axios({
        url: api.getReportMedicalQualityCore,
        method: 'get',
        params
    })
}

export function getReportClinicRefundMonitor(params) {
    return axios({
        url: api.getReportClinicRefundMonitor,
        method: 'get',
        params
    })
}

export function getReportPpiFeeRank(params) {
    return axios({
        url: api.getReportPpiFeeRank,
        method: 'get',
        params
    })
}

export function getReportDoctorDrugFeeRank(params) {
    return axios({
        url: api.getReportDoctorDrugFeeRank,
        method: 'get',
        params
    })
}
// 
export function getReportDrugFeeRank(params) {
    return axios({
        url: api.getReportDrugFeeRank,
        method: 'get',
        params
    })
}

export function getReportAuxDrugFeeRank(params) {
    return axios({
        url: api.getReportAuxDrugFeeRank,
        method: 'get',
        params
    })
}

// getInnerDeptInfoMonitor
export function getInnerDeptInfoMonitor(params) {
    return axios({
        url: api.getInnerDeptInfoMonitor,
        method: 'get',
        params
    })
}

// getClinicDeptInfoMonitor
export function getClinicDeptInfoMonitor(params) {
    return axios({
        url: api.getClinicDeptInfoMonitor,
        method: 'get',
        params
    })
}

// getCheckNumber
export function getCheckNumber(params) {
    return axios({
        url: api.getCheckNumber,
        method: 'get',
        params
    })
}

// getChkFeeMonitor  检查偷漏费监控
export function getChkFeeMonitor(params) {
    return axios({
        url: api.getChkFeeMonitor,
        method: 'get',
        params
    })
}

// 大型检查阳性率
export function getBigChkNegPosMonitor(params) {
    return axios({
        url: api.getBigChkNegPosMonitor,
        method: 'get',
        params
    })
}

export function getReportBasicDrugMonitor(params) {
    return axios({
        url: api.getReportBasicDrugMonitor,
        method: 'get',
        params
    })
}

// getReportDrugPctMonitor
export function getReportDrugPctMonitor(params) {
    return axios({
        url: api.getReportDrugPctMonitor,
        method: 'get',
        params
    })
}



// getOverPrescriptionDetail
export function getOverPrescriptionDetail(params) {
    return axios({
        url: api.getOverPrescriptionDetail,
        method: 'get',
        params
    })
}

// getOverLimitPrescription
export function getOverLimitPrescription(params) {
    return axios({
        url: api.getOverLimitPrescription,
        method: 'get',
        params
    })
}

// reportTableByMonth
export function reportTableByMonth(params) {
    return axios({
        url: api.reportTableByMonth,
        method: 'get',
        params
    })
}

export function reportDataByMonth(params) {
    return axios({
        url: api.reportDataByMonth,
        method: 'get',
        params
    })
}

// getReportTable
export function getReportTable(params) {
    return axios({
        url: api.getReportTable,
        method: 'get',
        params
    })
}

export function getAntibioticsOutpatients(params) {
    return axios({
        url: api.getAntibioticsOutpatients,
        method: 'get',
        params
    })
}

export function getAntimicrobialUse(params) {
    return axios({
        url: api.getAntimicrobialUse,
        method: 'get',
        params
    })
}

// getRankingAntimicrobialUse
export function getRankingAntimicrobialUse(params) {
    return axios({
        url: api.getRankingAntimicrobialUse,
        method: 'get',
        params
    })
}

// getStrengthAntimicrobialUse
export function getStrengthAntimicrobialUse(params) {
    return axios({
        url: api.getStrengthAntimicrobialUse,
        method: 'get',
        params
    })
}
